package com.example.mybatisplus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.Rooms;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.dto.PageDTO;
import com.example.mybatisplus.model.dto.vo.RoomNumber4BuildingsVO;
import com.example.mybatisplus.model.dto.vo.Stats4RoomsVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxp
 * @since 2024-07-16
 */
public interface RoomsService extends IService<Rooms> {

    List<Stats4RoomsVO> getRoomById();

    List<RoomNumber4BuildingsVO> getRoomByBuilding();

    Page<Rooms> pageList(Rooms rooms, PageDTO dto);
}
